//out:true,compress:true
@import url('font.less');
@import url('normalize.less');
@import url('swiper.min.less');
@color: #ffd100;
@colorGrey: #666;
@colorNormal: #000;
@colorBg: #f8f8f6;
@colorRed: #f50406;
@colorGreen: #8bc34a;


//支付页面
//红包弹出页面 

body {
    color: @colorNormal;
    font-size: 16px;
    font-family: Tahoma, Microsoft yahei, sans-serif;
    user-select: none;
}

.textHidden {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lineHidden(@lineCount) {
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: @lineCount;
    overflow: hidden;
    text-overflow: ellipsis;
}

a {
    color: @colorNormal;
    text-decoration: none;
}

.iconfont {
    line-height: inherit;
    font-size: inherit;
    font-weight: normal !important;
}

button,
input,
textarea,
select {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    resize: none;
    outline: none;
    background: none;
}

.colorBg {
    background: @colorBg;
}
.colorDefaultBg{
    background: @color;
}

.screen() {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.screenBottom() {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    animation: screenBottom .3s .1s ease forwards;
    transform: translateY(100%);
}

.single() {
    .content {
        padding: 20px;
        overflow: hidden;
        line-height: 1.6;

        * {
            height: auto !important;
            width: auto !important;
            max-width: 100% !important;
            word-break: break-all;
        }

        &>p:nth-child(n+2) {
            margin-top: 20px;
        }
    }
}

@keyframes screenBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0%);
    }
}

.popupBg {
    .screen;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: popupBg .2s ease forwards;
}

@keyframes popupBg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.shadow() {
    box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06), 1px 3px 8px rgba(39, 44, 49, 0.03);
}
.borderRadius(){
    border-radius: 3px;
}
.pages {
    background: @colorBg;
}

.swiperBg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 240px;
    background: #ffd100;
    transform: skewY(10deg) translateY(-50%);
}
// 首页
.homePage {
    background: @colorBg;
    overflow: hidden;
    position: relative;
    .homeBox{
        background: #fff;
        overflow: hidden;
    }
    .homeItem {
        margin:12px 18px;
    }

    .focus {
        padding-bottom: 40%;
        background: #eee;
        position: relative;
        overflow: hidden;
        .borderRadius();
        .shadow();

        .swiper-wrapper {
            position: absolute;
            left: 0;
            top: 0;
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .focus2 {
        padding-bottom: 30%;
        background: #eee;
        position: relative;
        overflow: hidden;
        .borderRadius();

        .swiper-wrapper {
            position: absolute;
            left: 0;
            top: 0;
        }
        span{
            position: absolute;
            top: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.3);
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
            padding: 0 6px;
            line-height: 24px;
            display: inline-block;
            border-radius: 0 0 0 6px;
            transform: scale(.5);
            transform-origin: top right;
        }
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .homeLink {
        display: flex;
        flex-wrap: wrap;
        &:nth-child(n+2){
            margin-top: 12px;
        }
        li {
            flex: 1;
            padding-bottom: 30%;
            position: relative;
            &:nth-child(n+2){
                margin-left: 12px;
            }
            &.shops {
                flex: 2;
                a{
                    background: url(../image/fujin2.png) center center no-repeat;
                    background-size: cover;
                    align-content: center;
                }
            }
            &.free {
                a{
                    background: #fff url(../image/miandan2.png) center center no-repeat;
                    background-size: cover;
                    align-content: center;
                }
            }
            &.integral{
                a{
                    background: #fff url(../image/i.png) center center no-repeat;
                    background-size: cover;
                    justify-content: center;
                    align-items: center;
                    padding: 0;
                    letter-spacing: 2px;
                }
            }
        }

        a {
            .borderRadius();
            display: flex;
            background: @color;
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            flex-wrap: wrap;
            padding-left: 20px;
            box-shadow: 3px 9px 38px rgba(39,44,49,0.08), 1px 3px 8px rgba(39,44,49,0.03);
            h3{
                font-weight: 800;
                &.arrowR{
                    padding-right: 15px;
                }
                &::before{
                    right: 0;
                    border-color: currentColor currentColor transparent transparent;
                }
            }
            p{
                margin-top: 6px;
                font-size: 14px;
                width: 100%;
            }
        }
    }
}
.homeItemTit{
    text-align: center;
    font-size: 12px;
    color: #666;
    line-height: 2;
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
    position: relative;
    align-items: center;
    &::before,&::after{
        content: "";
        display: block;
        width: 20px;
        height: 1px;
        background: #ddd;
        margin: 0 8px;
    }
}
.entering{
    background: @colorBg;
    .enteringTip{
        font-size: 12px;
        color: @colorGrey;
        text-align: center;
        margin-top: 15px;
        width:100%;
        a{
            color:@colorGreen;
        }
    }
    ul{
        background: none;
        border-radius: 0 0 3px 3px;
        padding:0 20px 20px;
        [class*=btn-]{
            margin-top: 0;
        }
        li{
            flex-wrap: wrap;
            margin-top: 15px;
            position: relative;
            .con{
                flex: auto;
                background: #fff;
                margin-top: 10px;
                .borderRadius();
                overflow: hidden;
            }
        }
        label{
            display: block;
            width: 100%;
            font-size: 14px;
            font-weight: bold;
            color: @colorNormal;
        }
        .input{
            height: 46px;
            padding: 0 12px;
            transition: all ease .3s;
            .borderRadius();
            &:focus{
                box-shadow: 0 0 0 1px @color inset;
            }
        }
        .select{
            height: 46px;
            padding: 0 15px;
            position: relative;
            &::after{
                right: 15px;
            }
        }
    }
    .getCodeBox{
        position: relative;
        width: 100%;
        margin-top: 10px;
        .con{
            margin-top: 0;
        }
    }
    .dTitle{
        padding:0 20px;
        background: @color;
        border-radius: 3px 3px 0 0;
        padding: 20px;
        h2{
            font-size: 18px;
        }
        p{
            font-size: 14px;
            margin-top: 6px;
            color: @colorGrey;
        }
    }
    .enterArea{
        text-align: center;
        margin: 20px;
        background: #fff;
        padding: 20px;
        .borderRadius();
        h2{
            font-size: 16px;
            position: relative;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: @colorRed;
            &::before,&::after{
                content: "";
                height: 1px;
                background: @colorBg;
                display: block;
                flex: 1;
                margin: 0 10px;
            }
        }
    }
    .enterFoot{
        font-size: 12px;
        color:@colorGrey;
        text-align: center;
        padding: 20px;
        line-height: 1.5;
    }
    .uploadEvi{
        display: flex;
        .item{
            &:nth-child(n+2){
                border-left: 10px solid @colorBg;
            }
            flex: 1;
            text-align: center;
            padding-bottom: 10px;
        }
        .itemBox{
            background: @colorBg url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M528 384c88.224 0 160 71.776 160 160s-71.776 160-160 160-160-71.776-160-160 71.776-160 160-160m320-105.728a62.688 62.688 0 0 0-15.968-2.24h-104.832L704.704 224l-6.688-15.488C686.016 180.864 654.272 160 624.128 160h-192.288c-30.144 0-61.888 20.864-73.856 48.544L351.296 224l-22.496 52H223.968c-5.536 0-10.848 0.96-15.968 2.272a64.16 64.16 0 0 0-48 62.08v439.36c0 29.888 20.448 54.816 48 62.016 5.12 1.312 10.432 2.272 15.968 2.272h608.064c5.536 0 10.848-0.96 15.968-2.24a64.224 64.224 0 0 0 48-62.048v-439.36c0-29.92-20.48-54.912-48-62.08' p-id='6708' fill='%23dddddd'%3E%3C/path%3E%3C/svg%3E") center center no-repeat;
            background-size: 30% auto;
        }
        .itemClick{
            position: relative;
            height: 100px;
            border: 10px solid #fff;
            input{
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
            }
            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }
        p{
            font-size: 12px;
        }
    }
}

.shopListPage{
    .shopListNav{
        height: 46px;
    }
    ul{
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        background: @color;
        z-index: 99;
        display: flex;
        line-height: 46px;
        text-align: center;
    }
    li{
        &:not(.position):not(.searchBtn){
            flex: 1;
            font-weight: bold;
            position: relative;
            color: @colorGrey;
        }
        &.position{
            padding: 0 10px;
            font-size: 14px;
            max-width: 25%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        &.searchBtn{
            padding: 0 15px;
        }
        &.active{
            color:@colorNormal!important;
            &::after{
                content: "";
                display: block;
                left: 20%;
                bottom: 0;
                right: 20%;
                height: 3px;
                position: absolute;
                background: currentColor;
            }
        }
        &:active{
            background: rgba(0, 0, 0, 0.1);
        }
    }
    .shopList{
        padding-bottom: 100px;
        a{
            padding: 18px;
            display: flex;
            align-items: flex-start;
            overflow: hidden;
            .info{
                flex: 1;
                overflow: hidden;
                font-size: 14px;
            }
            .removing{
                margin-top: 10px;
                color: @colorGrey;
                font-size: 12px;
                span{
                    color: @colorRed;
                }
            }
            .adress{
                margin-top: 8px;
                font-size: 12px;
                i{
                    color: @color;
                }
            }
            h3{
                .textHidden;
                font-size: 14px;
            }
            .itemImg{
                width: 68px;
                height: 68px;
                object-fit: cover;
                margin-right: 15px;
                .borderRadius();
            }
            &:active{
                background: @colorBg;
            }
        }
    }
    .shopMap{
        position: fixed;
        top:46px;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
        .demoTip{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            color: #999;
            opacity: .5;
            font-size: 24px;
        }
    }
}

.detailPage{
    position: relative;
    overflow: hidden;
    .swiperBg{
        height: 300px;
        overflow: hidden;
        background: url(../image/detail.png) center bottom no-repeat;
        background-size: cover;
    }
    .shopBox{
        background: #fff;
        .shadow();
        margin:60px 18px 18px;
        position: relative;
        z-index: 1;
        .borderRadius();
        display: flex;
        align-items: center;
        .info{
            flex: 1;
            overflow: hidden;
            margin-right: 18px;
        }
        .shopImg{
            width: 108px;
            height: 108px;
            object-fit: cover;
            margin-right: 18px;
        }
        h3{
            font-size: 16px;
        }
        p{
            font-size: 12px;
            margin-top: 10px;
            color: @colorGrey;
        }
    }
    .nav{
        margin: 40px 0 20px;
        font-size: 16px;
        li{
            &::before{
                right: 18px;
                left: 18px;
            }
        }
        a{
            display: flex;
            align-items: center;
            line-height: 3;
            padding: 0 18px;
            &::before{
                right: 18px;
            }
            &:active{
                background: @colorBg;
            }
        }
        h3{
            font-weight: normal;
            font-size: 16px;
            flex: 1;
            .textHidden;
            margin-right: 20px;
        }
        .iconfont{
            margin-right: 10px;
            font-size: 18px;
            color: @color;
        }
    }
    .inBox{
        background: @colorBg;
        padding: 10px;
        text-align: center;
        .tit{
            font-size: 12px;
            color: #666;
            line-height: 2;
            display: flex;
            justify-content: center;
            margin-bottom: 5px;
            position: relative;
            align-items: center;
            &::before,&::after{
                content: "";
                display: block;
                width: 20px;
                height: 1px;
                background: #ddd;
                margin: 0 8px;
            }
        }
        .shopTit{
            margin-top: 10px;
            font-size: 14px;
            font-weight: bold;
        }
        ul{
            display: flex;
            flex-wrap: wrap;
            font-size: 15px;
            justify-content: space-between;
            &::after{
                content: "";
                flex-grow: 1;
                display: block;
                width: 40%;
            }
            li{
                flex-grow: 1;
                width: 40%;
                &:nth-child(2n-1){
                    margin-right: 10px;
                }
                &:nth-child(n+3){
                    margin-top: 15px;
                }
                p{
                    margin-top: 5px;
                    font-size: 12px;
                    color: @colorGrey;
                    span{
                        color: @colorRed;
                    }
                }
            }
            .imgBox{
                width: 100%;
                padding-bottom: 75%;
                position: relative;
                .img{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    object-fit: cover;
                    border-radius: 3px;
                }
            }
        }
    }
}
.shopInfo{
    .screen();
    position: fixed;
    z-index: 99;
    .box{
        .screenBottom();
        z-index: 1;
        padding: 20px;
    }
    .title{
        color: @colorGrey;
        text-align: center;
        padding-bottom: 20px;
        font-weight: bold;
    }
    ul{
        margin-top: 20px;
        min-height: 200px;
        label{
            font-weight: bold;
            font-size: 14px;
        }
        .con{
            margin-top: 10px;
        }
    }
}
.shopRowNum{
    .screen();
    position: fixed;
    z-index: 99;
    .closeBtn{
        position: absolute;
        top:0;
        right: 0;
        width: 59px;
        height: 59px;
        line-height: 59px;
        text-align: center;
        z-index: 1;
        &:active{
            background: @colorBg;
        }
    }
    .ellipsis{
        padding-bottom: 10px;
        text-align: center;
        width: 100%;
    }
    .box{
        .screenBottom();
        z-index: 1;
        padding: 20px;
        max-height: 80%;
        display: flex;
        flex-direction: column;
    }
    .title{
        color: @colorGrey;
        text-align: center;
        padding-bottom: 20px;
        font-weight: bold;
    }
    .info{
        flex: 1;
        overflow: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        li{
            counter-increment: list;
            display: flex;
            align-items: center;
            padding: 10px 0;
            .avatar{
                width: 40px;
                height: 40px;
                object-fit: cover;
                border-radius: 100px;
                margin-right: 10px;
            }
            .con{
                flex: 1;
            }
            h3{
                font-size: 14px;
                .textHidden;
            }
            p{
                font-size: 12px;
                margin-top: 2px;
                color: @colorGrey;
            }
            &:first-child{
                .rank{
                    background: @colorRed;
                    color: #fff;
                }
            }
        }
        .rank{
            width: 32px;
            height: 32px;
            text-align: center;
            line-height: 32px;
            background: @color;
            border-radius: 100px;
            font-size: 14px;
            &::before{
                content: counter(list);
            }
        }
    }
}

.userPage{
    overflow: hidden;
    padding-bottom: 100px;
    .swiperBg{
        background: @color url(../image/detail.png) top center no-repeat;
        background-size: cover;
    }
    .headBox{
       background: fadeout(@color,15%);
        background-size: cover;
        position: relative;
        z-index: 1;
        .head{
            padding: 20px;
            display: flex;
            align-items: center;
        }
        .setBtn{
            font-size: 24px;
        }
        .info{
            flex: 1;
            p{
                font-size: 12px;
                margin-top: 6px;
                span{
                 color: @colorRed;
                }
            }
            a{
                margin-left: 6px;
                padding-right: 10px;
                &::before{
                    border-color: currentColor currentColor transparent transparent;
                    right: 0;
                }
            }
        }
        h4{
            font-size: 14px;
        }
        .avatar{
            width: 46px;
            height: 46px;
            border-radius: 100px;
            margin-right: 12px;
        }
        ul{
            display: flex;
            text-align: center;
            &::before{
                background: rgba(0, 0, 0, 0.1);
            }
            li{
                flex: 1;
            }
            p{
                font-size: 12px;
                color: @colorGrey;
                margin-top: 3px;
            }
            a{
                display: block;
                padding: 20px 0;
            }
        }
    }
    .nav{
        font-size: 16px;
        &+.nav{
            border-top: 8px solid @colorBg;
        }
        li{
            &::before{
                right: 0;
                left: 55px;
            }
            &:first-child{
                &::before{
                    display: none;
                }
            }
        }
        a{
            display: flex;
            align-items: center;
            line-height:54px;
            padding: 0 18px;
            &::before{
                right: 18px;
            }
            &:active{
                background: @colorBg;
            }
        }
        h3{
            font-weight: normal;
            font-size: 16px;
            flex: 1;
            .textHidden;
            margin-right: 20px;
        }
        .iconfont{
            margin-right: 10px;
            font-size: 24px;
            color: @color;
        }
    }
}

.mdPage{
    background: @colorBg;
    min-height: 100%;
    .mdList{
        overflow: hidden;
        .item{
            margin: 18px;
            .borderRadius();
            background: #fff;
            .shadow;
            overflow: hidden;
        }
        i{
            color: @color;
        }
        a{
            display:block;
            position: relative;
            &:active{
                .head{
                    span{
                        background: @color;
                        border-color: @color;
                    }
                }
            }
            &.over{
                &::before{
                    content: "";
                    width: 100%;
                    height: 150%;
                    display: block;
                    background: url(../image/over.png) right top no-repeat;
                    background-size: 40% auto;
                    position: absolute;
                    top: 0;
                    right: 0;
                    transform: translate(10%,-15%);
                    opacity: .3;
                }
            }
        }
        .head{
            padding: 12px;
            display: flex;
            align-items: center;
            span{
                font-size: 12px;
                line-height: 24px;
                border-radius: 100px;
                padding: 0 10px;
                border: 1px solid;
                margin-left: 5px;
            }
        }
        .info{
            flex: 1;
            overflow: hidden;
            p{
                font-size: 12px;
                color: @colorGrey;
                margin-top: 6px;
            }
        }
        .avatar{
            width: 48px;
            height: 48px;
            .borderRadius();
            object-fit: cover;
            margin-right: 12px;
        }
        h3{
            font-size: 14px;
        }
        ul{
            display: flex;
            text-align: center;
        }
        li{
            padding: 10px 0;
            flex: 1;
            h4{
                color: @colorRed;
            }
            p{
                margin-top: 3px;
                font-size: 12px;
                color: @colorGrey;
            }
        }
    }
    
}

.post{
    overflow: hidden;
    display: flex;
    background: #fff;
    line-height:30px;
    font-size: 12px;
    color: @colorGrey;
    .postBox{
        flex: 1;
        overflow: hidden;
    }
    i{
        padding: 0 8px;
        font-size: 18px;
        color: @colorRed;
    }
    .postScroll{
        white-space: nowrap;
        overflow: hidden;
        vertical-align: top;
        display: inline-block;
        animation: postScroll 20s linear infinite;
        span{
            margin-right: 20px;
            display: inline-block;
        }
    }
}
@keyframes postScroll{
    0%{ transform: translateX(0%);}
    100%{ transform: translateX(-50%);}
}

.mdDetail{
    overflow: hidden;
    .post{
        position: absolute;
        left: 0%;
        top: 0;
        right: 0;
        background:rgba(0, 0, 0, 0.1);
        color: #fff;
        i{
            color: #fff;
        }
    }
    .swiperBg{
        height: 300px;
        overflow: hidden;
        background: url(../image/detail.png) center bottom no-repeat;
        background-size: cover;
    }
    .shopBox{
        background: #fff;
        .shadow();
        margin:60px 18px 18px;
        position: relative;
        z-index: 1;
        .borderRadius();
        overflow: hidden;
        display: flex;
        align-items: center;
        .info{
            flex: 1;
            overflow: hidden;
            margin-right: 18px;
        }
        .shopImg{
            width: 108px;
            height: 108px;
            object-fit: cover;
            margin-right: 18px;
        }
        h3{
            font-size: 16px;
        }
        p{
            font-size: 12px;
            margin-top: 10px;
            color: @colorGrey;
            i{
                color: @color;
            }
        }
    }
    .shopRowNum{
        padding: 20px;
        position: relative;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
    }
    .myInfo{
        display: flex;
        text-align: center;
        .shadow();
        background: @color;
        margin: 18px;
        .borderRadius();
        li{
            padding: 15px 0;
            flex: 1;
        }
        h4{
            font-size: 20px;
            color: @colorNormal;
        }
        p{
            font-size: 12px;
            margin-top: 3px;
            color: @colorGrey;
        }
    }
    .mdTitle{
        text-align: center;
        margin-top: 20px;
        font-size: 12px;
        color:@colorGrey;
        line-height: 2;
        background: @colorBg;
        font-weight: bold;
        transform: translateY(20px);
        margin: 0 20px;
    }
}

.suggestPage{
    padding: 20px;
}
.setPage{
    .nav{
        font-size: 16px;
        &+.nav{
            border-top: 8px solid @colorBg;
        }
        li{
            &::before{
                right: 0;
                left: 18px;
            }
            &:first-child{
                &::before{
                    display: none;
                }
            }
        }
        a{
            display: flex;
            align-items: center;
            line-height:54px;
            padding: 0 18px;
            &::before{
                right: 18px;
            }
            &:active{
                background: @colorBg;
            }
        }
        h3{
            font-weight: normal;
            font-size: 16px;
            flex: 1;
            .textHidden;
            margin-right: 20px;
        }
        .iconfont{
            margin-right: 10px;
            font-size: 24px;
            color: @color;
        }
    }
    .btnBox{
        padding: 20px;
    }
}
.articlePage{
    a {
        display: block;
        padding: 15px 30px 15px 20px;
        &:active {
            background: rgba(0, 0, 0, 0.1);
        }
    }
}
.singlePage {
    .single;
    .title {
        padding: 20px;
    }
}
.password{
    padding: 20px;
}
.integralPage{
    .myInfo{
        display: flex;
        text-align: center;
        .shadow();
        background: #fff;
        .borderRadius();
        li{
            padding: 15px 0;
            flex: 1;
        }
        h4{
            font-size: 20px;
            color: @colorNormal;
        }
        p{
            font-size: 12px;
            margin-top: 3px;
            color: @colorGrey;
        }
    }  
    .wList{
        li{
            padding: 20px;
            display: flex;
            align-items: center;
            font-size: 14px;
        }
        .con{
            flex: 1;
            overflow: hidden;
            margin-right: 10px;
        }
        h3{
            font-size: 14px;
        }
        p{
            color: @colorGrey;
            font-size: 12px;
            margin-top: 6px;
        }
        .minus{
            color: @colorGreen;
        }
        .add{
            color: @colorRed;
        }
    }
    
}
//登录页面
.loginPage {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: @color;
    .box {
        margin: 0 auto;
        width: 100%;
        background: #fff;
        border-radius: 12px;
        .shadow;
    }
    .logo {
        transform: translateY(-30%);
        img{
            border-radius: 100px;
            box-shadow: 0 0 0 12px #fff;
        }
    }
    .forms {
        width: 80%;
        margin:  auto;
        li{
            margin-top: 15px;
            position: relative;
        }
        input {
            font-size: 16px;
            height: 46px;
            background:@colorBg;
            .borderRadius();
            padding: 0 20px;
        }
        button{
            .borderRadius();
        }
    }
    .regTips {
        font-size: 14px;
        margin-top: 30px;
        text-align: center;
        width: 100%;
        color:@colorGrey;
        padding: 20px 0;
        background: @colorBg;
        border-radius: 0 0 12px 12px;
        a {
            border-radius: 100px;
            margin-top: 10px;
            width: auto;
            border: none;
            margin-left: 10px;
            padding-right: 10px;
            &::before{
                right: 0;
            }
        }
    }
    .errowTip {
        background: lighten(@colorRed, 45%);
        color: @colorRed;
        text-align: center;
        padding: 5px;
        font-size: 12px;
        border-radius: 5px;
    }
}
// 顶部悬浮分类
.topTabBox {
    height: 46px;
    .nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 9;
        text-align: center;
        display: flex;
        text-align: center;
        line-height: 20px;
        background: @color;
        li {
            flex: 1;
            overflow: hidden;
            &.active {
                a {
                    font-weight: 800;
                    position: relative;
                    &::before {
                        content: "";
                        position: absolute;
                        left: 25%;
                        bottom: 0;
                        right: 25%;
                        height: 3px;
                        background: currentColor;
                    }
                }
            }
        }
        a {
            display: block;
            position: relative;
            padding: 13px 0;
            p{
                line-height: 1;
                font-weight: normal;
                margin-top: 2px;
                font-size: 13px;
            }
            &:active{
                background: rgba(0, 0, 0, 0.1);
            }
        }
    }
}
.footMenu {
    height: 46px;

    .con {
        height: 46px;
        background: #fff;
        display: flex;
        text-align: center;
        position: fixed;
        left: 0;
        bottom: 0;
        right: 0;
        font-size: 13px;
        z-index: 9;

        li {
            flex: 1;
        }

        i.iconfont {
            font-size: 24px;
            line-height: 1;
        }

        a {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #a3a3a3;
            position: relative;

            &:active {
                background: @colorBg;
            }

            &.active {
                color: @color;
            }
        }
    }

    .count {
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: 5px;
        background: @colorRed;
        color: #fff;
        border-radius: 100px;
        padding: 0 8px;
        line-height: 25px;
        font-size: 15px;
        display: block;
        transform: scale(.7);
        font-weight: bold;
    }
}
.proPage{
    padding: 20px;
    .avatarEdit{
        text-align: center;
        margin: 50px auto;
        .avatarBox{
            width: 100px;
            height: 100px;
            display: inline-block;
            position: relative;
            border-radius: 100px;
            border: 1px solid @color;
            img{
                width: 100%;
                height: 100%;
                overflow: hidden;
                border-radius: 100px;
                background: #eee;
            }
        }
        p{
            margin-top: 20px;
        }
        input{
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
        }
    }
    .nav{
        font-size: 16px;
        &+.nav{
            border-top: 8px solid @colorBg;
        }
        li{
            &::before{
                right: 0;
            }
        }
        a{
            display: flex;
            align-items: center;
            line-height:52px;
            &::before{
                right: 0;
            }
            &:active{
                background: @colorBg;
            }
        }
        h3{
            font-weight: normal;
            font-size: 16px;
            flex: 1;
            .textHidden;
            margin-right: 20px;
        }
        .iconfont{
            margin-right: 10px;
            font-size: 24px;
            color: @color;
        }
    }
}
.billPage{
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    .billInfo{
        position: relative;
        ul{
            text-align: center;
            display: flex;
            background: #fff;
            .shadow;
            li{
                padding: 15px 0;
                flex: 1;
            }
        }
        p{
            font-size: 12px;
            color: @colorGrey;
            margin-top: 3px;
        }
    }
    .list{
        flex: 1;
        overflow: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        .item{
            margin: 18px;
            .borderRadius();
            background: #fff;
            .shadow;
            overflow: hidden;
        }
        i{
            color: @color;
        }
        a{
            display:block;
            &:active{
                .head{
                    span{
                        background: @color;
                        border-color: @color;
                    }
                }
            }
        }
        .head{
            padding: 12px;
            display: flex;
            align-items: flex-start;
            
            span{
                font-size: 12px;
                line-height: 24px;
                border-radius: 100px;
                padding: 0 10px;
                border: 1px solid;
                margin-left: 5px;
                margin-top: 10px;
            }
        }
        .info{
            flex: 1;
            overflow: hidden;
            p{
                font-size: 12px;
                color: @colorGrey;
                margin-top: 6px;
            }
        }
        .avatar{
            width: 48px;
            height: 48px;
            .borderRadius();
            object-fit: cover;
            margin-right: 12px;
        }
        h3{
            font-size: 14px;
        }
        ul{
            display: flex;
            text-align: center;
            padding: 0 12px;
            color:@colorGrey;
            span{
                color: @colorRed;
                font-weight: bold;
            }
        }
        li{
            padding: 10px 0;
            font-size: 12px;
            flex: 1;
            text-align: center;
        }
    }
}
// 表单样式
@formsHeight: 52px;
.compeletIcon {
    background: url() center center no-repeat
}
.forms {
    background: #fff;
    .radioItem{
        display: flex;
        flex-wrap: wrap;
        &.three{
            label{
                color: inherit;
                width: 32%;
                position: relative;
                min-width: auto;
                display: block;
                margin: 0;
                padding: 6px 8px;
                line-height: 1.4;
                padding-left: 25px;
                margin-left: 2%;
                &:nth-child(3n+1){
                    margin-left: 0;
                }
                &::nth-child(n+4){
                    margin-top: 2%;
                }
            }
        }
        &.two{
            label{
                color: inherit;
                width: 48%;
                position: relative;
                min-width: auto;
                display: block;
                margin: 0;
                padding: 6px 8px;
                line-height: 1.4;
                padding-left: 25px;
                &:nth-child(2n){
                    margin-left: 4%;
                }
                &::nth-child(n+3){
                    margin-top: 4%;
                }
            }
        }
        label{
            &:active{
                background: @colorBg;
            }
        }
        span{
            position: absolute;
            width: 18px;
            height: 18px;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            border: 1px solid currentColor;
            display: block;
            border-radius: 100px;
        }
        input[type=radio]{
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            display: block;
            background-size: 18px 18px;
            background-position: left center;
            opacity: 0;
            z-index: 1;
            &:checked{
               color:@colorGreen;
               opacity: 1;
            }
            &:checked + span{
                color: @colorGreen;
             }
        }
    }
    .checboxItem{
        display: flex;
        flex-wrap: wrap;
        &.two{
            label{
                color: inherit;
                width: 48%;
                position: relative;
                min-width: auto;
                display: block;
                margin: 0;
                padding: 6px 8px;
                line-height: 1.4;
                padding-left: 25px;
                &:nth-child(2n){
                    margin-left: 4%;
                }
                &::nth-child(n+3){
                    margin-top: 4%;
                }
            }
        }
        &.three{
            label{
                color: inherit;
                width: 32%;
                position: relative;
                min-width: auto;
                display: block;
                margin: 0;
                padding: 6px 8px;
                line-height: 1.4;
                padding-left: 25px;
                margin-left: 2%;
                &:nth-child(3n+1){
                    margin-left: 0;
                }
                &::nth-child(n+4){
                    margin-top: 2%;
                }
            }
        }
        label{
            &:active{
                background: @colorBg;
            }
        }
        span{
            position: absolute;
            width: 18px;
            height: 18px;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            border: 1px solid currentColor;
            display: block;
            border-radius: 3px;
        }
        input[type=checkbox]{
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            display: block;
            background-size: 18px 18px;
            background-position: left center;
            opacity: 0;
            z-index: 1;
            &:checked{
               color:@colorGreen;
               opacity: 1;
            }
            &:checked + span{
                color: @colorGreen;
                // background: @colorGreen;
                z-index: 1;
                border-width: 3px;
             }
        }
    }
    li {
        &:first-child::before {
            display: none;
        }

        display: flex;
        align-items: center;

        .con {
            flex: 1;
            position: relative;
        }

        &.showLi {
            padding: 16px 0;

            a {
                text-decoration: underline;
                color: @color;
            }
        }
    }
    .formsTip{
        font-size: 12px;
        color: @colorGrey;
    }

    label {
        margin-right: 20px;
        color: @colorGrey;
        min-width: 80px;
    }

    .input {
        height: @formsHeight;
        width: 100%;
        border: none;
        outline: none;
    }

    .select {
        height: @formsHeight;
        width: 100%;
    }

    .select select {
        width: 100%;
        height: 100%;
    }

    .select:after {
        content: " ";
        display: inline-block;
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg);
        height: 6px;
        width: 6px;
        border-width: 2px 2px 0 0;
        border-color: #c8c8cd;
        border-style: solid;
        position: relative;
        top: -2px;
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -6px;
    }

    .textarea {
        width: 100%;
        height: 128px;
        padding: 20px 0;
    }

    [class*=btn-] {
        margin-top: 20px;
    }

    .getCode {
        background: @colorGreen;
        width: auto;
        padding: 0 16px;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
    }
    .picCode{
        position: absolute;
        top: 5px;
        bottom: 5px;
        right: 5px;
        height: 36px;
    }

    .album {
        display: flex;
        flex-wrap: wrap;

        .albumItem {
            width: 23%;
            padding-bottom: 24%;
            position: relative;
            margin-right: 2.66666%;
            .borderRadius();
            img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                .borderRadius();
            }
            &:active{
                background-color: @color;
            }

            &:nth-child(n+5) {
                margin-top: 2.6666666%;
            }

            &:nth-child(4n) {
                margin-right: 0;
            }
        }

        .addPic {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='895.936' height='891.999' viewBox='0 0 895.936 891.999'%3E%3Cg transform='translate(-636 -94)'%3E%3Cpath d='M512,958.017c-119.648,0-232.129-46.368-316.737-130.56C110.622,743.2,64,631.2,64,512c0-119.169,46.624-231.2,131.232-315.424C279.84,112.386,392.32,66.018,511.969,66.018s232.129,46.368,316.7,130.56C913.345,280.8,959.936,392.834,959.936,511.97c.033,119.2-46.592,231.233-131.263,315.455C744.129,911.616,631.648,958.017,512,958.017Zm0-828.034c-102.624,0-199.072,39.743-271.583,111.937C167.936,314.048,128,409.983,128,512s39.9,197.952,112.384,270.047c72.512,72.192,168.96,111.937,271.583,111.937,102.593,0,199.072-39.744,271.583-111.937,72.481-72.161,112.417-168.063,112.384-270.08,0-102.016-39.9-197.919-112.384-270.016C711.072,169.76,614.593,129.983,512,129.983Z' transform='translate(572 27.982)'/%3E%3Cpath d='M736,480H544V288a32,32,0,0,0-64,0V480H288a32,32,0,0,0,0,64H480V736a32,32,0,0,0,64,0V544H736a32,32,0,1,0,0-64Z' transform='translate(572 27.982)'/%3E%3C/g%3E%3C/svg%3E");
            background-position: center center;
            background-repeat: no-repeat;
            background-size: 50%;
            opacity: .2;
            border: 1px solid @colorGrey;
            z-index: 1;
        }

        .errowIcon {
            position: absolute;
            width: 20px;
            height: 20px;
            top: -5px;
            right: -5px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 980 980'%3E%3Cpath d='M490,980a497.893,497.893,0,0,1-50.1-2.53,491.275,491.275,0,0,1-48.652-7.425c-15.788-3.231-31.587-7.293-46.959-12.074-15.2-4.728-30.348-10.272-45.019-16.477-14.537-6.148-28.948-13.091-42.833-20.634-13.787-7.49-27.38-15.748-40.4-24.544A492.7,492.7,0,0,1,83.684,763.964c-8.8-13.02-17.054-26.612-24.544-40.4-7.543-13.886-14.485-28.3-20.634-42.833-6.205-14.671-11.749-29.818-16.477-45.019-4.781-15.373-8.844-31.173-12.074-46.959A491.251,491.251,0,0,1,2.53,540.1a497.357,497.357,0,0,1,0-100.2,491.267,491.267,0,0,1,7.425-48.652c3.231-15.786,7.293-31.586,12.074-46.959,4.728-15.2,10.272-30.348,16.477-45.019,6.149-14.537,13.091-28.948,20.634-42.833,7.49-13.787,15.748-27.38,24.544-40.4A492.7,492.7,0,0,1,216.036,83.684c13.02-8.8,26.613-17.054,40.4-24.544,13.885-7.543,28.3-14.485,42.833-20.634,14.672-6.206,29.818-11.749,45.019-16.477,15.373-4.781,31.172-8.844,46.959-12.074A491.267,491.267,0,0,1,439.9,2.53a497.357,497.357,0,0,1,100.2,0,491.251,491.251,0,0,1,48.653,7.425c15.786,3.231,31.586,7.293,46.959,12.074,15.2,4.728,30.348,10.272,45.019,16.477,14.536,6.148,28.947,13.09,42.833,20.634,13.788,7.49,27.381,15.748,40.4,24.544A492.7,492.7,0,0,1,896.316,216.036c8.8,13.02,17.054,26.613,24.544,40.4,7.543,13.885,14.485,28.3,20.634,42.833,6.206,14.672,11.749,29.818,16.477,45.019,4.781,15.371,8.844,31.171,12.074,46.959a491.275,491.275,0,0,1,7.425,48.652,497.362,497.362,0,0,1,0,100.2,491.261,491.261,0,0,1-7.425,48.653c-3.231,15.788-7.293,31.587-12.074,46.959-4.728,15.2-10.272,30.348-16.477,45.019-6.148,14.536-13.09,28.947-20.634,42.833-7.49,13.788-15.748,27.381-24.544,40.4A492.7,492.7,0,0,1,763.964,896.316c-13.02,8.8-26.612,17.054-40.4,24.544-13.886,7.543-28.3,14.486-42.833,20.634-14.671,6.206-29.818,11.749-45.019,16.477-15.372,4.781-31.171,8.844-46.959,12.074a491.261,491.261,0,0,1-48.653,7.425A497.884,497.884,0,0,1,490,980Zm-.08-433.514h0L610.13,666.7A55.641,55.641,0,0,0,624.272,677.3a30.055,30.055,0,0,0,28.284,0A62.514,62.514,0,0,0,677.3,652.555a30.052,30.052,0,0,0,0-28.284A55.665,55.665,0,0,0,666.7,610.128l-120.21-120.21L666.695,369.71A55.659,55.659,0,0,0,677.3,355.568a30.05,30.05,0,0,0,0-28.284,62.5,62.5,0,0,0-24.749-24.749,30.052,30.052,0,0,0-28.284,0,55.668,55.668,0,0,0-14.143,10.607L489.92,433.349,369.714,313.143a55.661,55.661,0,0,0-14.142-10.606,30.053,30.053,0,0,0-28.284,0,62.5,62.5,0,0,0-24.749,24.749,30.053,30.053,0,0,0,0,28.284,55.649,55.649,0,0,0,10.606,14.142L433.351,489.918,313.142,610.127a55.647,55.647,0,0,0-10.607,14.142,30.051,30.051,0,0,0,0,28.284A62.5,62.5,0,0,0,327.284,677.3a30.05,30.05,0,0,0,28.284,0,55.655,55.655,0,0,0,14.142-10.607L489.92,546.486Z' transform='translate(0 0)' fill='%23f50406'/%3E%3C/svg%3E");
            background-size:contain;
            z-index: 1;
            background-color: #fff;
            border-radius: 100px;
        }
    }
}

// 提示页面
.payCopyRight {
    .comtip{
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-size: 12px;
        color: #fff;
        line-height: 2;
        text-align: center;
    }
    .pageTip{
        padding-top: 20px;
    }
    img{
        display: block;
        border-radius: 100px;
        margin: 0 auto;
    }
    .txt{
        font-weight: bold;
    }
}
.pageTip {
    padding-top: 60px;
    .iconfont { 
        width: 100px;
        font-size: 64px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    .icon-success_fill{
        color:@colorGreen;
    }
    .icon-prompt_fill{
        color: @color;
    }
    .icon-delete_fill{
        color: @colorRed;
    }
    .txt {
        padding: 0 10%;
        text-align: center;
        margin-top: 20px;
    }
    button {
        margin: 30px auto 0;
        max-width: 60%;
    }
}
.redBag{
    .screen();
    position: fixed;
    user-select: none;
    .box{
        position: absolute;
        left: 0;
        top: 30px;
        right: 0;
        z-index: 1;
        overflow: hidden;
        text-align: center;
        animation: redBag .3s .3s ease forwards;
        opacity: 0;
    }
    .font{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        color: #fcde70;
        margin-top: 78%;
    }
    .tit{
        font-size: 22px;
        font-weight: bold;
    }
    .tip{
        font-size: 10px;
        margin-top: 20px;
    }
    button{
        background: #fcde70;
        font-size: 14px;
        font-weight: bold;
        line-height: 32px;
        padding: 0 30px;
        border-radius: 100px;
        display: inline-block;
        color: #f50406;
        margin-top: 10px;
    }
}
@keyframes redBag{
    0%{ transform: scale(0.8); opacity: 0;}
    50%{ transform: scale(1.1); opacity: 1;}
    100%{ transform: scale(1); opacity: 1;}
}
// 弹出search
.searchPopup{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99;
    display: none;
    .head{
        background: @colorBg;
        padding: 10px;
        display: flex;
        align-items: center;
        .search{
            background: #fff;
            border-radius: 3px;
            padding-left: 10px;
            flex: 1;
            display: flex;
            align-items: center;
            input{
                height: 36px;
                flex: 1;
            }
            i{
                font-size: 22px;
                margin-right: 10px;
            }
        }
        .cancelSearch{
            font-size: 14px;
            padding: 0 10px;
            color: @colorGrey;
        }
    }
    .history{
        padding: 20px;
        h3{
            font-size: 16px;
        }
        .tags{
            min-height: 100px;
            margin-top: 10px;
            span{
                margin: 5px 5px 0 0;
                background: @colorBg;
                padding: 0 5px;
                line-height: 24px;
                font-size: 12px;
                display: inline-block;
            }
        }
        .btnBox{
            padding: 20px 25%;
            button{
                border-radius: 100px;
            }
        }
    }
    .btn-link{
        background: #f5f5f5;
        color: @colorGrey!important;
        border: none;
        &:active{
            background: #eee;
        }
    }
}

.searchResult{
    background: @colorBg;
    padding: 10px;
    display: flex;
    align-items: center;
    .search{
        background: #fff;
        border-radius: 3px;
        padding-left: 10px;
        flex: 1;
        display: flex;
        align-items: center;
        input{
            height: 36px;
            flex: 1;
        }
        i{
            font-size: 22px;
            margin-right: 10px;
        }
    }
    .cancelSearch{
        font-size: 14px;
        padding: 0 10px;
        color: @colorGrey;
    }
}
input[type=search]{
    position: relative;
}
input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 36px;
    height: 36px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.6 187.6'%3E%3Cpath d='M100,6.3a93.8,93.8,0,1,0,93.8,93.8A93.806,93.806,0,0,0,100,6.3Zm38.9,121-11.6,11.6L100,111.6,72.7,138.9,61.1,127.3,88.4,100,61.1,72.7,72.7,61.1,100,88.4l27.3-27.3,11.6,11.6L111.6,100Z' transform='translate(-6.2 -6.3)' fill='%239199a1'/%3E%3C/svg%3E") center center no-repeat;
    background-size: 16px;
    opacity: .8;
    cursor: pointer;
    top: 0px;
    right: 0px;
    bottom: 0px;
    position: absolute;
}

input::-webkit-search-cancel-button:active {
    background-color: #e6e6e6
}
.btn-primary {
    display: block;
    line-height: 2.5;
    background: @color;
    color: #000 !important;
    border-radius: 3px;
    width: 100%;
    text-align: center;

    &.large {
        font-weight: 800;
        font-size: 18px;
    }

    &.mid {
        font-weight: 800;
        font-size: 15px;
    }

    &.small {
        font-weight: 800;
        font-size: 12px;
    }
}

.btn-green {
    .btn-primary;
    color: #fff !important;
    background: @colorGreen;
}

.btn-blue {
    .btn-primary;
    color: #fff !important;
    background: @color;
}

.btn-link {
    .btn-primary;
    border: 1px solid;
    background: none;
    color: @color !important;
}

button:disabled {
    background: #ccc !important;
}

@minWidth :480px;

@media screen and (min-width:@minWidth) {
    html {
        background: @colorBg;
    }

    body {
        max-width: @minWidth;
        margin-left: auto;
        margin-right: auto;
        background: #fff;
    }

    .footMenu {
        .con {
            width: @minWidth;
            left: 50%;
            right: auto;
            transform: translateX(-50%);
        }
    }
}